﻿{% ifequal Tag 'my' %}
    {% for Item in MyLikes %}
	<form action="/like_delete?tag={{ Tag }}&page={{ CurPage }}&commentonpage={{ CurCommentOnPage }}&item={{ CurrentItem.key }}" method="post">

	<a href = "/like?tag={{ Tag }}&item={{ Item.key }}"><b>{{ Item.Title }}</b></a><br>

	<div><input type="hidden" name="deletekey" value="{{ Item.key }}"/></div>
	<div><input type="submit" value="删除"/></div>
	</form>
    {% endfor %}
{% endifequal %}

{% ifequal Tag 'user' %}
    {% for Item in MyLikes %}
	<a href = "/like?tag={{ Tag }}&item={{ Item.key }}"><b>{{ Item.Title }}</b></a><br>
    {% endfor %}
{% endifequal %}

{% ifequal Tag 'syshot' %}
    {% for Item in HotLikes %}
	{% if IsAdmin %}
		<form action="/like_delete?tag={{ Tag }}&page={{ CurPage }}&commentonpage={{ CurCommentOnPage }}&item={{ CurrentItem.key }}" method="post">
	{% endif %}

	<a href = "/like?tag={{ Tag }}&item={{ Item.key }}"><b>{{ Item.Title }}</b></a><br>

	{% if IsAdmin %}
		<div><input type="hidden" name="deletekey" value="{{ Item.key }}"/></div>
		<div><input type="submit" value="删除"/></div>
		</form>
	{% endif %}
    {% endfor %}
{% endifequal %}

{% ifequal Tag 'sysnew' %}
    {% for Item in NewLikes %}
	{% if IsAdmin %}
		<form action="/like_delete?tag={{ Tag }}&page={{ CurPage }}&commentonpage={{ CurCommentOnPage }}&item={{ CurrentItem.key }}" method="post">
	{% endif %}

	<a href = "/like?tag={{ Tag }}&item={{ Item.key }}"><b>{{ Item.Title }}</b></a><br>

	{% if IsAdmin %}
		<div><input type="hidden" name="deletekey" value="{{ Item.key }}"/></div>
		<div><input type="submit" value="删除"/></div>
		</form>
	{% endif %}
    {% endfor %}
{% endifequal %}

	{% if PrePage %}
		<a href = "/like?tag={{ Tag }}&page={{ PrePage }}">上一页</a>
	{% endif %}

	{% if NextPage %}
		<a href = "/like?tag={{ Tag }}&page={{ NextPage }}">下一页</a>
	{% endif %}
